package com.platform.dao;

import com.platform.base.BaseMapper;
import com.platform.pojo.Consumables;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ConsumablesMapper extends BaseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Consumables record);

    int insertSelective(Consumables record);

    Consumables selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Consumables record);

    int updateByPrimaryKey(Consumables record);

    List<Map> selectByParamMap(Map map);

    Map selectById(@Param(value = "id") Integer id);

    int selectMaxId();

}